/*
 * Create Author  : jinpeng.chen
 * Create Date    : 2017-01-10
 * Project        : springboot-chapter5
 * File Name      : AppBootWebXmlApplication.java
 *
 * Copyright (c) 2010-2015 by Shanghai HanTao Information Co., Ltd.
 * All rights reserved.
 *
 */
package com.charles.app;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * 功能描述:  <p>
 *
 * @author : jinpeng.chen <p>
 * @version 1.0 2017-01-10
 * @since springboot-chapter5 1.0
 */
public class AppBootWebXmlApplication extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(AppBootApplication.class);
    }
}
